package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 套餐 服务类
 * </p>
 *
 * @author 黑马程序员
 * @since 2022-06-06
 */
public interface SetmealService extends IService<Setmeal> {

    void saveBysetmealDto(SetmealDto dto);

    SetmealDto getSetmealByid(Long id);

    void updateBysetmealDto(SetmealDto dto);

    void deleteByIds(List<Long> ids);

    Page selectBypage(int page,int pageSize,String name);
}
